package com.vhall.component.entity.rbac.vo;

import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * @author dalong
 * @date 2021-05-18 15:28
 */

@Data
public class RoleAdminAddReqVO implements Serializable {

    private static final long serialVersionUID = 1952796281179372131L;
    /**
     * 角色名称
     */
    @NotBlank(message = "不能为空")
    private String name;
    /**
     * 角色描述
     */
    private String desc = "";

    private String token;
    /**
     * 角色类型
     * 1:平台级,2:部门级
     */
    @NotNull(message = "type不能为空")
    private Integer type;
    /**
     * 角色等级
     */
    private Integer level;

}

